package com.example.vspm.service.impl;

import com.example.vspm.entity.SenderEvaluation;
import com.example.vspm.mapper.SenderEvaluationMapper;
import com.example.vspm.service.SendTableService;
import com.example.vspm.service.SenderEvaluationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author LCL
 * @date 2022/3/13
 * @desc
 */
@Service
public class SenderEvaluationImpl implements SenderEvaluationService {
    @Autowired
    SenderEvaluationMapper senderEvaluationMapper;

    @Override
    public void addSenderEvaluation(SenderEvaluation senderEvaluation) {
        senderEvaluationMapper.addSenderEvaluation(senderEvaluation);
    }

    @Override
    public void addSenderEvaluationTaid(int taid, int sid) {
       senderEvaluationMapper.addSenderEvaluationTaid(taid, sid);
    }
}
